home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-08-02 | 1.1 KB | 35 lines | [TEXT/MACA] |
- _______________________________________________________________________________________________
-
- Macintosh Sample Code
-
- #4: TubeTest
-
- Versions: 1.0 8/88
-
- Components: TubeTest.p August 1, 1988
- TubeTest.r August 1, 1988
- TubeTest.make August 1, 1988
-
- _______________________________________________________________________________________________
-
-
-
- The TubeTest program is a simple demonstration of how to use the Palette
- Manager in a color program. It has a special color palette that is associated
- with the main window. The colors are animated using the Palette Manager
- to give a flowing tube effect. The program is very simple, and the Palette
- Manager and drawing parts are put in separate subroutines to make it easier
- to figure out what is happening.
-
- The program is still a complete Macintosh application with a Main Event Loop,
- so there is the extra code to run the MEL.
-
- There is a resource file that is necessary as well, to define the Menus, Window,
- Dialog, and Palette resources used in the program.
-
- See Sample and TESample for the general structure and MultiFinder techniques that
- we recommend that you use when building a new application.
-
-
-
-